home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GGGGEEEETTTTRRRRPPPPCCCCPPPPOOOORRRRTTTT((((3333RRRR)))) GGGGEEEETTTTRRRRPPPPCCCCPPPPOOOORRRRTTTT((((3333RRRR))))
-
-
-
- NNNNAAAAMMMMEEEE
- getrpcport - get RPC port number
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- iiiinnnntttt ggggeeeettttrrrrppppccccppppoooorrrrtttt((((hhhhoooosssstttt,,,, pppprrrrooooggggnnnnuuuummmm,,,, vvvveeeerrrrssssnnnnuuuummmm,,,, pppprrrroooottttoooo))))
- cccchhhhaaaarrrr ****hhhhoooosssstttt;;;;
- iiiinnnntttt pppprrrrooooggggnnnnuuuummmm,,,, vvvveeeerrrrssssnnnnuuuummmm,,,, pppprrrroooottttoooo;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _G_e_t_r_p_c_p_o_r_t returns the port number for version _v_e_r_s_n_u_m of the RPC program
- _p_r_o_g_n_u_m running on _h_o_s_t and using protocol _p_r_o_t_o. It returns 0 if it
- cannot contact the portmapper, or if _p_r_o_g_n_u_m is not registered. If
- _p_r_o_g_n_u_m is registered but not with version _v_e_r_s_n_u_m, it will still return
- a port number (for some version of the program) indicating that the
- program is indeed registered. The version mismatch will be detected upon
- the first call to the service.
-
- NNNNOOOOTTTTEEEE
- To compile and link a program that calls this routine, follow the
- procedures for section (3R) routines as described in intro (3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-